<template>
	<view class="container">
		<view class="mask"></view>
		<view class="dialog">
			<view class="up">
				<view class="content">作业结果将于<text class="content-light">{{publishTime}}</text>公布</view>
			</view>
			<view class="btn" @click="close">我知道了</view>
		</view>
	</view>
	
</template>

<script>
	export default {
		props:{
			publishTime:{
				type:String,
				default:''
			}
		},
		methods:{
			close(){
				this.$emit('close')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container{
		position: fixed;
		top: 0;
		width: 100%;
		height: 100%;
	}
	.mask{
		width: 100%;
		height: 100%;
		background-color: black;
		opacity: 0.5;
		z-index: 999;
	}
	.dialog {
		z-index: 1000;
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		margin: auto;
		margin-top: 100%;
		transform: translateY(-50%);
		width: 80%;
		border-radius: 30upx;
		background-color: #FFFFFF;
		text-align: center;
		font-size: 28upx;
		color: #333333;
	}
	.up{
		padding-top: 50upx;
		border-bottom: 2upx solid #eeeeee;
	}

	.content {
		
		padding: 80upx 20upx;
		

		&-light {
			color: #4a96f2;
		}

	}
	.btn{
		line-height: 100upx;
		height: 100upx;
	}
</style>
